<?php

/**
* @current cmsfashionistainfokey.php
* @author   LiuYang <liu_yang@haibao.com>
* @date 2017年2月8日 下午3:14:23
*/
namespace haibao\jiepai\model\data\fashionista;

class CmsFashionistaInfoKey extends \haibao\jiepai\model\data\Base{
	
    /**
     *  0.基本信息，1.职业信息，2.兴趣信息，11.职业信息->官方媒体
     */
    const TYPE_BASEINFO = 0;
    const TYPE_PROFESSION = 1;
    const TYPE_INTEREST = 2;
    const TYPE_media = 11;
    
    /**
     * 1.单标签，2.多标签，3.图片，4.单行文本，5.数字，6.富文本，7.日期时间 8,文章
     */   
    const CATEGORY_SINGLE = 1;
    const CATEGORY_DOUBLE = 2;
    const CATEGORY_PICTURE = 3;
    const CATEGORY_TEXT = 4;
    const CATEGORY_DIGIT= 5;
    const CATEGORY_TEXTAREA= 6;
    const CATEGORY_DATE= 7;
    const CATEGORY_ARTICLE= 8;
    
    
    public $EnglishName;
   
    public $KeyName;
    
    public $Type;
    
    public $Category;
    
    public $Flag;
    
	public function __construct(){
		parent::__construct();
		
		$this->setColumnName('Id', 'KeyID');
		$this->stringField('EnglishName', 'EnglishName');
		$this->stringField('KeyName', 'KeyName');
		$this->intField('Type', 'Type');
		$this->intField('Category', 'Category');
		$this->intField('Flag', 'Flag');
		
		$this->setTableName('cms_fashionista_info_key');
	}
	
}